libxl: add and use parse_mac helper function
authorIan Campbell <ian.campbell@citrix.com>
Thu, 6 Oct 2011 17:49:41 +0000 (18:49 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 6 Oct 2011 17:49:41 +0000 (18:49 +0100)
commitf43458f6e2f777228fc78cb38280f670fe603b9a
tree902203e4e6b0e9e2a4815a25f475161f495ececc
parentec0c9b58c2a50f33904800882400315c49f65b72
libxl: add and use parse_mac helper function

rather than open coding a bunch it a bunch of times.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_utils.c